import http from '@/axios/index.js'

// 查询列表
export const queryDictDataListReq = (type) => {
    return http.get('/sys/dict/data/list/'+type);
}

// 删除
export const deleteReq = (ids) => {
    return http.post('/sys/dict/data/delete',ids);
}

// 添加
export const addReq = (data) => {
    return http.post('/sys/dict/data/add',data);
}

// 修改
export const updateReq = (data) => {
    return http.put('/sys/dict/data/update',data);
}